<?php

/**
 * @Author: Wang Chunsheng 2192138785@qq.com
 * @Date:   2020-03-10 00:14:59
 * @Last Modified by:   Wang Chunsheng 2192138785@qq.com
 * @Last Modified time: 2020-03-10 02:18:26
 */


use yii\helpers\Html;
use common\widgets\MyActiveForm;

/* @var $this yii\web\View */
/* @var $model app\modules\diandi_shop\models\DdDiandiShopStore */
/* @var $form yii\widgets\MyActiveForm */
?>

<div class="dd-diandi-shop-store-form">

    <?php $form = MyActiveForm::begin(); ?>

    <?= $form->field($model, 'title')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'logo')->widget('manks\FileInput', []); ?>
    <?= $form->field($model, 'banner')->widget('manks\FileInput', []); ?>


    <?= $form->field($model, 'intro')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'address')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'mobile')->textInput() ?>
    <?= $form->field($model, 'startingPrice')->textInput() ?>
    <?= $form->field($model, 'shippingDees')->textInput() ?>

    <?= $form->field($model, 'describe')->textarea(['row' => 3]) ?>

    <?= $form->field($model, 'create_time')->textInput() ?>

    <?= $form->field($model, 'update_time')->textInput() ?>

    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10">
            <?= Html::submitButton('保存', ['class' => 'btn btn-success']) ?>
        </div>
    </div>

    <?php MyActiveForm::end(); ?>

</div>